package com.dnxh.entity.common;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * @Author 枳湫
 * @Time 2022/4/7 16:52
 * @Describe Basic_jar
 **/
@Data
@Accessors(chain = true)
public class PageRequest {
	
	@NotNull (message = "页面数量不可为空")
	private Integer pageSize;
	@NotNull(message = "页码不可为空")
	private Integer pageNum;
	
}
